1 using System;
2 using
UnityEngine;
3
4 namespace
UnityStandardAssets.ImageEffects
5 {
6     
[ExecuteInEditMode]
7     
[AddComponentMenu("Image Effects/Color Adjustments/Sepia Tone")]
8     
public class SepiaTone : ImageEffectBase
9     {
10         
// Called by camera to apply image effect
11         
void OnRenderImage (RenderTexture source, RenderTexture destination)
12         {
13             Graphics.Blit (source, destination, material);
14         }
15     }
16 }


Gõ tìm kiếm nhanh...